[INFO] cloning repository https://github.com/Yummot/smallpt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yummot/smallpt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYummot%2Fsmallpt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYummot%2Fsmallpt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b18e353d78371ce13b7295254bb3f566c387f7b9
[INFO] fixing Yummot/smallpt/b18e353d78371ce13b7295254bb3f566c387f7b9 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYummot%2Fsmallpt" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Yummot/smallpt
[INFO] finished tweaking git repo https://github.com/Yummot/smallpt
[INFO] tweaked toml for git repo https://github.com/Yummot/smallpt written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Yummot/smallpt on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Yummot/smallpt already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `smallpt` (manifest) generated 1 warning
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 8 packages to latest compatible versions
[INFO] [stderr]       Adding cfg-if v1.0.4
[INFO] [stderr]       Adding chacha20 v0.10.0
[INFO] [stderr]       Adding cpufeatures v0.3.0
[INFO] [stderr]       Adding getrandom v0.4.3
[INFO] [stderr]       Adding libc v0.2.186
[INFO] [stderr]       Adding r-efi v6.0.0
[INFO] [stderr]       Adding rand v0.10.1
[INFO] [stderr]       Adding rand_core v0.10.1
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] da6aff10eed0d7730440e385f287ef90f9d58a426d5c7a54e372eeb900ddf3be
[INFO] running `Command { std: "docker" "start" "da6aff10eed0d7730440e385f287ef90f9d58a426d5c7a54e372eeb900ddf3be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "da6aff10eed0d7730440e385f287ef90f9d58a426d5c7a54e372eeb900ddf3be" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da6aff10eed0d7730440e385f287ef90f9d58a426d5c7a54e372eeb900ddf3be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "da6aff10eed0d7730440e385f287ef90f9d58a426d5c7a54e372eeb900ddf3be" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `smallpt` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]     Checking threadpool v0.1.0 (/opt/rustwide/workdir/dependencies/threadpool)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> dependencies/threadpool/src/lib.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 | type Thunk<'a> = Box<FnBox + Send + 'a>;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 | type Thunk<'a> = Box<dyn FnBox + Send + 'a>;
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rand v0.10.1
[INFO] [stderr]     Checking smallpt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `rand::Rand`, `rand::Open01`
[INFO] [stdout]  --> src/main.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::{Rand, Open01};
[INFO] [stdout]   |            ^^^^  ^^^^^^ no `Open01` in the root
[INFO] [stdout]   |            |
[INFO] [stdout]   |            no `Rand` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           rand::distr::Open01
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand`
[INFO] [stdout]    --> src/main.rs:105:25
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand`
[INFO] [stdout]    --> src/main.rs:207:33
[INFO] [stdout]     |
[INFO] [stdout] 207 |             let mut rng = rand::thread_rng();
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/main.rs:106:36
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut t = unsafe { std::mem::uninitialized::<f64>() };
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rand::Rand`, `rand::Open01`
[INFO] [stdout]  --> src/main.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::{Rand, Open01};
[INFO] [stdout]   |            ^^^^  ^^^^^^ no `Open01` in the root
[INFO] [stdout]   |            |
[INFO] [stdout]   |            no `Rand` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           rand::distr::Open01
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand`
[INFO] [stdout]    --> src/main.rs:105:25
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |                         ^^^^^^^^^^ not found in `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in crate `rand`
[INFO] [stdout]    --> src/main.rs:207:33
[INFO] [stdout]     |
[INFO] [stdout] 207 |             let mut rng = rand::thread_rng();
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/main.rs:106:36
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut t = unsafe { std::mem::uninitialized::<f64>() };
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}`
[INFO] [stdout]    --> src/main.rs:134:79
[INFO] [stdout]     |
[INFO] [stdout] 134 |             let d = (u * r1.cos() * r2s + v * r1.sin() * r2s + w * (1.0 - r2).sqrt()).norm();
[INFO] [stdout]     |                                                                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}`
[INFO] [stdout]    --> src/main.rs:134:79
[INFO] [stdout]     |
[INFO] [stdout] 134 |             let d = (u * r1.cos() * r2s + v * r1.sin() * r2s + w * (1.0 - r2).sqrt()).norm();
[INFO] [stdout]     |                                                                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}`
[INFO] [stdout]    --> src/main.rs:217:62
[INFO] [stdout]     |
[INFO] [stdout] 216 | ...   let (r1, r2) = (2.0 * rand1, 2.0 * rand2); 
[INFO] [stdout]     |            -- you must specify a type for this binding, like `f32`
[INFO] [stdout] 217 | ...   let (dx, dy) = (if r1 < 1.0 { r1.sqrt() - 1.0 } else { 1.0 - (2.0 - r1).sqrt() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 ...
[INFO] [stdout]     |                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}`
[INFO] [stdout]    --> src/main.rs:217:101
[INFO] [stdout]     |
[INFO] [stdout] 217 | ...   let (dx, dy) = (if r1 < 1.0 { r1.sqrt() - 1.0 } else { 1.0 - (2.0 - r1).sqrt() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 ...
[INFO] [stdout]     |                                                                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}`
[INFO] [stdout]    --> src/main.rs:217:128
[INFO] [stdout]     |
[INFO] [stdout] 216 | ...   let (r1, r2) = (2.0 * rand1, 2.0 * rand2); 
[INFO] [stdout]     |                -- you must specify a type for this binding, like `f32`
[INFO] [stdout] 217 | ...   let (dx, dy) = (if r1 < 1.0 { r1.sqrt() - 1.0 } else { 1.0 - (2.0 - r1).sqrt() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 ...
[INFO] [stdout]     |                                                                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}`
[INFO] [stdout]    --> src/main.rs:217:62
[INFO] [stdout]     |
[INFO] [stdout] 216 | ...   let (r1, r2) = (2.0 * rand1, 2.0 * rand2); 
[INFO] [stdout]     |            -- you must specify a type for this binding, like `f32`
[INFO] [stdout] 217 | ...   let (dx, dy) = (if r1 < 1.0 { r1.sqrt() - 1.0 } else { 1.0 - (2.0 - r1).sqrt() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 ...
[INFO] [stdout]     |                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}`
[INFO] [stdout]    --> src/main.rs:217:167
[INFO] [stdout]     |
[INFO] [stdout] 217 | ...() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 - (2.0 - r2).sqrt() });
[INFO] [stdout]     |                                                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}`
[INFO] [stdout]    --> src/main.rs:217:101
[INFO] [stdout]     |
[INFO] [stdout] 217 | ...   let (dx, dy) = (if r1 < 1.0 { r1.sqrt() - 1.0 } else { 1.0 - (2.0 - r1).sqrt() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 ...
[INFO] [stdout]     |                                                                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}`
[INFO] [stdout]    --> src/main.rs:217:128
[INFO] [stdout]     |
[INFO] [stdout] 216 | ...   let (r1, r2) = (2.0 * rand1, 2.0 * rand2); 
[INFO] [stdout]     |                -- you must specify a type for this binding, like `f32`
[INFO] [stdout] 217 | ...   let (dx, dy) = (if r1 < 1.0 { r1.sqrt() - 1.0 } else { 1.0 - (2.0 - r1).sqrt() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 ...
[INFO] [stdout]     |                                                                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}`
[INFO] [stdout]    --> src/main.rs:217:167
[INFO] [stdout]     |
[INFO] [stdout] 217 | ...() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 - (2.0 - r2).sqrt() });
[INFO] [stdout]     |                                                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0689.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0689.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `smallpt` (bin "smallpt") due to 8 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `smallpt` (bin "smallpt" test) due to 8 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "da6aff10eed0d7730440e385f287ef90f9d58a426d5c7a54e372eeb900ddf3be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da6aff10eed0d7730440e385f287ef90f9d58a426d5c7a54e372eeb900ddf3be", kill_on_drop: false }`
[INFO] [stdout] da6aff10eed0d7730440e385f287ef90f9d58a426d5c7a54e372eeb900ddf3be
